package com.kxmall.rider.domain.vo;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.kxmall.common.annotation.ExcelDictFormat;
import com.kxmall.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 配送视图对象 kx_rider
 *
 * @author kxmall
 * @date 2023-09-21
 */
@Data
@ExcelIgnoreUnannotated
public class KxRiderVo {

    private static final long serialVersionUID = 1L;

    /**
     * 配送员主键ID
     */
    @ExcelProperty(value = "配送员主键ID")
    private Long id;

    /**
     * 配送员名字
     */
    @ExcelProperty(value = "配送员名字")
    private String name;

    /**
     * 开始配送时间
     */
    @ExcelProperty(value = "开始配送时间")
    private String deliveryStart;

    /**
     * 结束配送时间
     */
    @ExcelProperty(value = "结束配送时间")
    private String deliveryEnd;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phone;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String avatarUrl;

    /**
     * 登录ip
     */
    @ExcelProperty(value = "登录ip")
    private String lastLoginIp;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Date gmtLastLogin;

    /**
     * 登录类型
     */
    @ExcelProperty(value = "登录类型")
    private Integer loginType;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String openId;

    /**
     * 配送员状态
     */
    @ExcelProperty(value = "配送员状态")
    private Integer state;

    /**
     * 开工状态
     */
    @ExcelProperty(value = "开工状态")
    private Integer workState;

    /**
     * 骑手登录密码
     */
    @ExcelProperty(value = "骑手登录密码")
    private String password;

    /**
     * 所属门店
     */
    @ExcelProperty(value = "所属仓库")
    private Long storageId;

    /**
     * 配送范围
     */
    @ExcelProperty(value = "配送范围")
    private Long deliveryRadius;

    private Date createTime;

    private Date updateTime;

    private List<Long> weekNumberIds;

    private String sessionKey;

    /**
     * 登录成功，包装此参数
     */
    private String accessToken;

    /*** 是否自动分配订单*/
    private Integer automatic;

    private String gzhOpenId;

    //性别，0未知，1男，2女
    private Integer sex;

    private String birthday;

    private String realName;
}
